package com.qingge.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qingge.springboot.entity.Stu;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xyc
 * @since 2022-04-12
 */
public interface StuMapper extends BaseMapper<Stu> {
    Page<Stu> findPage(Page<Stu> page,
                       @Param("name") String name,
                       @Param("sex") String sex,
                       @Param("college") String college,
                       @Param("grade") String grade);

    Integer getStudentCount();
}
